\section{Sul\-Ed software user's manual}\label{howtosuled}
Sul\-Ed is a sulcis editor : it automatically extracts sulcis on a given mesh and let the user label and color the different sulcis extracted.

It supports the .brn format and the .obj format paired with a feature map coded in a .txt file.

Summary :\begin{itemize}
\item \doxyref{Interface and interactions}{p.}{howtosuled_iterractsuled}\item \doxyref{How to label sulcis on a brain}{p.}{howtosuled_howtolabelsulcis}\item \doxyref{Save a labeled braind}{p.}{howtosuled_savesuled}\item \doxyref{Load a brain}{p.}{howtosuled_loadsuled}\end{itemize}


 \subsection{Interface and interactions}\label{howtosuled_iterractsuled}
The interface is very simple :\begin{itemize}
\item \doxyref{Brain}{p.}{classBrain} to label is displayed in points mode in white.\item Every sulcus is displayed in a different color in a polygonal mode, so that they're highlighted.\item A small informative box is displayed at the bottom of the window giving some indications about the possible things to do. (see picture on top, region highlighted in red).\item Another small information box pops up when a sulcus is selected by the user, containing the name and the color in RGB ( in [0,1]X[0,1]X[0,1] ) of the selected sulcus. (see picture on top, region highlighted in red).\end{itemize}


Interaction with the brain is done with the mouse events :\begin{itemize}
\item The left click is attached to a trackball that permit to rotate the brain.\item The right click is attached to a picking mode so that the user is permited to select the sulcus he wants to select with a simple click.\end{itemize}
\subsection{How to label sulcis on a brain}\label{howtosuled_howtolabelsulcis}
Labelling the different sulcis is done as follow :\begin{itemize}
\item 1) Select a label by clicking on it with the right mouse button. If correctly done, the sulcus you picked should now be displayed in white.\item 2) Then type the 'n' letter on your keyboard and give the sulcus a name. After you typed the 'n' letter, the information box should ask you to give a name to help you. The sulcus name should now be the one you have entered.\item 3) Then type the 'c' letter on your keyboard. The information box should ask you to enter a color. You have to enter it as an RGB color. All r,g,b components must be between 0 and 1 and separated by a space, i.e. \char`\"{}1 0 0\char`\"{} for red color. The sulcus should now be displayed in the color you entered.\item Your sulcus is now completely labeled. Repeat the steps 1 to 3 until there's no non labeled sulcus.\end{itemize}


Note that the steps 2 and 3 can be done in your choice of order.

For all non labelled sulcis, an automatic name is given : no\-Name0, no\-Name1, no\-Name2, ..., no\-Name\-I if there's I non labelled sulcis. And their color will be automaticly st to black.\subsection{Save a labeled braind}\label{howtosuled_savesuled}
Once you labelled every sulcis (or those you wanted to) of a brain, you can save it in a .brn file format.\begin{itemize}
\item Just type 's' and the path to save your brain. THE EXTENSION HAS TO BE '.brn' !\end{itemize}
\subsection{Load a brain}\label{howtosuled_loadsuled}
You can load a brain to work on it in two different ways :\begin{itemize}
\item It is already stored as a .brn file.\item You have to load the mesh of the brain AND the map paired with this brain.\end{itemize}


Simply type 'l' ('L' letter) to enter the loading mode (see the information box at the bottom of the window). Then enter the path of the file you want to load. If it has the .obj extension, you will be automatically asked to enter a map file. If it's a .brn extension, the loading should be done. Note that the name of the window gives you information about the open file's name. 